Fix: MySQL Connectors takeover vulnerability - #310
Open
WesternConcrete wants to merge 1 commit into
Open
WesternConcrete wants to merge 1 commit into
WesternConcrete wants to merge 1 commit into
Conversation
…-2023-22102 Co-Authored-By: Wes Convery <2wconvery@gmail.com>
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
|
|
||
| dependencies { | ||
| compile 'mysql:mysql-connector-java:8.0.33' | ||
| compile 'com.mysql:mysql-connector-j:8.2.0' |
There was a problem hiding this comment.
📝 Info: Legacy driver alias remains available
Connector/J 8.2.0 retains the com.mysql.jdbc.Driver bridge used by Docker Compose and WaitForMySql.
Was this helpful? React with 👍 or 👎 to provide feedback.
| compile "org.springframework.boot:spring-boot-starter-web:$springBootVersion" | ||
|
|
||
| runtime 'mysql:mysql-connector-java:8.0.33' | ||
| runtime 'com.mysql:mysql-connector-j:8.2.0' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Finding: MySQL Connectors takeover vulnerability (CVE-2023-22102) in COG-GTM/ftgo-monolith.
mysql:mysql-connector-java:8.0.33is affected (CVE-2023-22102, CVSS 8.3 — unauthenticated network attacker can take over Connector/J, e.g. via a hostile/MITM server response). The legacymysql:mysql-connector-javacoordinate is EOL at 8.0.33 and never received the patch, so the fix is to move to the renamed artifact at the first fixed version:Applied in
buildSrc/build.gradle,ftgo-common/build.gradle, andftgo-application/build.gradle. Package/class names are unchanged (com.mysql.cj.jdbc.Driver), so no code or datasource config changes are required.Link to Devin session: https://app.devin.ai/sessions/7c734a49fa1849bc9ef496bfc9c72d10
Open in Devin Desktop: https://app.devin.ai/desktop/session/7c734a49fa1849bc9ef496bfc9c72d10?variant=devin
Requested by: @WesternConcrete
Devin Review